import request from "@/utils/request";

// 技师手工统计
export function getfinanceManual(data) {
  return request({
    url: "/order/finance/manual",
    method: "post",
    data: data,
  });
}

// 获得门店信息列表
export function getStoreInfoList(data) {
  return request({
    url: "/store/store/list",
    method: "post",
    data: data,
  });
}

// 获得门店员工
export function getStoreUser(data) {
  return request({
    url: "/order/store/user",
    method: "post",
    data: data,
  });
}

// 人员售卡统计
export function Sellcard(data) {
  return request({
    url: "/order/finance/sell/card",
    method: "post",
    data: data,
  });
}

// 人员提成日统计
export function getDay(data) {
  return request({
    url: "/order/finance/award/day",
    method: "post",
    data: data,
  });
}

// 人员提成月统计
export function getMonth(data) {
  return request({
    url: "/order/finance/award/moon",
    method: "post",
    data: data,
  });
}

// 门店充值消费(月)
export function getRechargeMonth(query) {
  return request({
    url: "/customer/account/total/page/moon",
    method: "get",
    params: query,
  });
}

// 门店充值消费(天)
export function getRechargeDay(query) {
  return request({
    url: "/customer/account/total/page/day",
    method: "get",
    params: query,
  });
}

// 门店充值消费(实时)
export function getRealTime(query) {
  return request({
    url: "/customer/account/total/page/realTime",
    method: "get",
    params: query,
  });
}
